﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace _4.路由事件
{
    /// <summary>
    /// Button1.xaml 的交互逻辑
    /// </summary>
    public partial class Button1 : Window
    {
        public Button1()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            int a = 15;
            this.text1.Text=a.ToString();
        }
       
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {

        }

        private void svPageup(object sender, RoutedEventArgs e)
        {
            sv1.PageUp();
        }

        private void svPagedown(object sender, RoutedEventArgs e)
        {
            sv1.PageDown();
        }
    }
}
